#include <tuple>
#include <string>
#include <iostream>
using namespace std;
void test01()
{
    tuple<double, double, double, string> tu;
    tu = make_tuple(12, 23, 42, "hello");
    cout << get<3>(tu) << endl;
}
tuple<int *, string, int> f_1(int *m)
{

    *m = 1;
    tuple<int *, string, int> a(m, "hello", 2);
    return a;
}
int main(int argc, const char **argv)
{
    auto m = new int[10];

    // test01();
    auto k = f_1(m);
    cout << get<0>(k)[0] << endl;
    delete[] m;
    return 0;
}